package io.renren.modules.generator.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 *
 * @author jianzhen
 * @email sunlightcs@gmail.com
 * @date 2022-04-10 15:06:11
 */
@Data
@TableName("message")
public class MessageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 消息id
	 */
	@TableId
	private Long messageId;
	/**
	 * 消息内容
	 */
	private String messContent;
	/**
	 * 发送人id
	 */
	private Long sendId;
	/**
	 * 发送人姓名
	 */
	private String sendName;
	/**
	 * 接收人id
	 */
	private Long receiveId;
	/**
	 * 接收人时间
	 */
	private String receiveName;
	/**
	 * 发送消息时间
	 */
	private Date sendTime;

}
